<template>
	<view class="evaluate-page">
		<u-navbar title="评价" :placeholder="true" bgColor="rgba(0,0,0,0.0)" :autoBack="true"></u-navbar>
		<view class="evaluate-bg">
			<image src="https://m.lqvvvv.com/assets/static/my/eval-bg.png" mode=""></image>
		</view>
		<view class="rate-box">
			<u-rate :count="count"  v-model="value" size="50"></u-rate>
		</view>
		<view class="evaluate-btn">
			<u-button type="primary" text="再来一单" @click="$navTo.togo('/pages/index/details/index',{id:id})" color="#5755F2" shape="circle"></u-button>
		</view>
		<!-- <view class="gift-box">
			<view class="gift-title">
				<image src="https://m.lqvvvv.com/assets/static/my/gift-title.png" mode=""></image>
			</view>
			<view class="gift-list">
				<view class="icon">
					<image src="https://m.lqvvvv.com/assets/static/my/gift-icon (1).png" mode="heightFix"></image>
				</view>
				<view class="icon">
					<image src="https://m.lqvvvv.com/assets/static/my/gift-icon (2).png" mode="heightFix"></image>
				</view>
				<view class="icon">
					<image src="https://m.lqvvvv.com/assets/static/my/gift-icon (3).png" mode="heightFix"></image>
				</view>
				<view class="icon">
					<image src="https://m.lqvvvv.com/assets/static/my/gift-icon (4).png" mode="heightFix"></image>
				</view>
				<view class="icon">
					<image src="https://m.lqvvvv.com/assets/static/my/gift-icon (5).png" mode="heightFix"></image>
				</view>
				<view class="icon">
					<image src="https://m.lqvvvv.com/assets/static/my/gift-icon (6).png" mode="heightFix"></image>
				</view>
				<view class="icon">
					<image src="https://m.lqvvvv.com/assets/static/my/gift-icon (7).png" mode="heightFix"></image>
				</view>
				<view class="icon">
					<image src="https://m.lqvvvv.com/assets/static/my/gift-icon (8).png" mode="heightFix"></image>
				</view>
			</view>
		</view> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				count: 5,
				value: 2,
				id:''
			}
		},
		onLoad(e) {
			this.id = e.id
		},
		methods:{
		}
	}
</script>

<style scoped lang="scss">
	.evaluate-page {
		min-height: 100vh;
		background-image: url('https://m.lqvvvv.com/assets/static/index/nav-bg.png');
		background-repeat: no-repeat;
		background-color: #F7F8FC;
		background-size: 100% 900rpx;

		.evaluate-bg {
			text-align: center;
			margin-top: 100rpx;

			image {
				width: 363rpx;
				height: 367rpx;
			}
		}

		.rate-box {
			width: 90%;
			margin: 0 auto;
			background-color: #fff;
			padding: 30rpx;
			margin-top: 60rpx;
			border-radius: 20rpx;
			display: flex;
			justify-content: center;
		}
		.evaluate-btn{
			width: 90%;
			margin: 0 auto;
			margin-top: 60rpx;
		}
		.gift-box {
			width: 90%;
			margin: 0 auto;
			background-image: url('https://m.lqvvvv.com/assets/static/my/gift-bg.png');
			background-repeat: no-repeat;
			background-size: 100% 641rpx;
			padding: 30rpx;
			margin-top: 60rpx;
			border-radius: 20rpx;

			.gift-title {
				image {
					width: 160rpx;
					height: 40rpx;
				}
			}

			.gift-list {
				display: flex;
				flex-wrap: wrap;
				justify-content: space-between;
				margin-top: 20rpx;

				.icon {
					width: 25%;
					text-align: center;
					margin: 20rpx 0;

					image {
						width: 99rpx;
						height: 99rpx;
					}
				}
			}
		}
	}
</style>